package com.chen.mapper;

import com.chen.entity.Coupon;
import com.chen.entity.CouponProductRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 优惠券和产品的关系表 Mapper 接口
 * </p>
 *
 * @author cws
 * @since 2024-11-22
 */
public interface CouponProductRelationMapper extends BaseMapper<CouponProductRelation> {

    List<Coupon> selectByProductId(Long productId);
}
